EVERY: Periodic Program Run Utility. Version 1.5, Jan 27 1992
Copyright (c) 1989,1990,1991 by Yossi Gil, P.O.Box 3148, Jerusalem, ISRAEL.
Usage: EVERY [options] [-f filename] period [-c] command [args]
Will execute 'command [args]' if 'period' had passed from the last time that
command was run. The file date of the 'filname' parameter (or that of command
file itself with the absence of this parameter) is used as an indicator for the
last time that command was run. EVERY updates this date automatically to the
system's clock when it runs 'command' (unless 'command' itself happens to updateit). Useful for executing various maintenance programs: disk optimizers, backupsetc. from AUTOEXEC.BAT, but avoiding the hassle of running them in every boot.
Options are:
-p Update file date prior to execution -s Run silently
-a Ask user before executing command -v Verbose run
-i Ignore error code returned by command -c Next argument is command
Period can be specified in terms of days, weeks, week days, months or years.
Examples:
EVERY day quickopt c: EVERY month optimize c:
EVERY Sunday backup c:\work EVERY week -f \frecover.dat frecover
EVERY 2 weeks 3 days sort_dirs EVERY year say happy new year!